//
//  YZMStockEntrustView.h
//  YZMicroStock
//
//  Created by wangminhong on 16/4/12.
//  Copyright © 2016年 cqjr. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YZMTradeTypeDef.h"
#import "YZMMarketValueModel.h"
#import "YZMMyStackModel.h"
#import "YZMConfigureModel.h"

@interface YZMStockEntrustView : UIView

@property (nonatomic, strong) YZMMyStackModel *schemeModel;
//@property (nonatomic, strong) YZMConfigureModel *defaultModel;

- (instancetype)initWithFrame:(CGRect)frame andTradeType:(YZM_TRADE_TYPE)tradeType;
- (void)updateWithStockCode:(NSString *)stockCode andStockName:(NSString *)stockeName;

- (void)startTimer;
- (void)stopTimer;

- (void)checkIfNeedRequestConfigureData;
- (void)stopButtonTimer;

-(void)updateCurrentIndex:(NSInteger )currentIndex;

-(void)updateRedpacket;



@end
